﻿1857.1.1 = {
	capital = 294

	oob = "OMA_1857"

	set_convoys = 9

	set_research_slots = 2

	### Economy
    add_ideas = generic_unemployment_idea
    set_variable = { unemployment_value_modifier = 0.1 }
    set_variable = { current_unemployment = 0.05 }
    clamp_variable = {
        var = current_unemployment
        min = 0
        max = 1
    }
    update_unemployment_modifier = yes
    add_to_variable = { money = 0.01 }

	add_ideas = {
		#POLITICS

		#hos_is_leader
		pre_industrial_era
		agrarian
		#has_heir
		#absolute_monarchy

		civilian_economy
		limited_exports
		army_spending_level_2
		taxation_level_1
	cl_legal

		#stagnation_growth
		border_control
	limited_conscription
		racial_laws
		absolutism

		#no_constitution
		no_elections

		privileged_education
		state_religion
		#religion_ibadi

	 social_spending_level_1
		law_spending_level_4
		road_spending_level_1
		navy_spending_level_1
		research_spending_level_1

				 #NATIONAL SPIRITS
		OMA_oman_muskat_divide
		OMA_economic_irrelevence
		OMA_mothballed_shipyards
		OMA_heavly_militerised_state
	}

	diplomatic_relation = {
		country = ENG
		relation = non_aggression_pact
		active = yes
	}
	diplomatic_relation = {
		country = ENG
		relation = military_access
		active = yes
	}
	PER={
		diplomatic_relation = {
			country = OMA
			relation = non_aggression_pact
			active = yes
		}
	}

	#Rivals
		set_variable = { rival_country = GLD.id }
		#Favored
		set_variable = { most_favoured_country = ZAN.id }

		#Diplomacy


	set_politics = {
		ruling_party = autocracy
	}

	set_popularities = {
		anarchism = 0
		ideology_social_liberalism = 0
		ideology_radical_socialism = 0
		social_egalitarianism = 0
		centrism = 0
		traditional_conservatism = 0
		radical_democracy = 0
		chauvinist_populism = 0
		autocracy = 100
		fundamentalism = 0
	}

	set_autonomy = {
		target = MOM
		autonomous_state = autonomy_colony
		freedom_level = 0.1
	}
	set_autonomy = {
		target = ZAN
		autonomous_state = autonomy_dominion
		freedom_level = 0.1
	}
	
	set_technology = {
		infantry_weapons = 1 
		traditional_mixed_arms = 1
		tribal_carrier_birds = 1 
		tribal_electrical_theory = 1
		tribal_steel_tools = 1
		tribal_tatics = 1
		tribal_gunpowder = 1
		tribal_riding = 1
		tribal_steam_experiments = 1
		tribal_forging = 1
		tribal_artisan = 1
		tribal_chemistry = 1
		tribal_guilds_trade = 1
		tribal_crop_planting = 1
		tribal_irrigation = 1
		tribal_crop_rotation = 1
		tribal_salted_smoked_goods = 1
		tribal_leching = 1
		tech_infantry_napoleonic_uniform = 1
		start_build_tech = 1
		tech_naval_corvette = 1
		tech_naval_mtg_24_pounder_battery = 1
		tech_naval_mtg_sails = 1
		tech_camel_cavalry = 1
		tech_naval_mtg_crows_nest = 1
		tech_naval_capital_ship_naval_transportation = 1
		tech_naval_early_frigate = 1
		tech_naval_corvette = 1
		tech_naval_early_frigate = 1
	}
	
	add_equipment_to_stockpile = { type = uniform_equipment_0 amount = 500 producer = OMA }

	# POLITICAL LEADERS
	recruit_character = OMA_Thuwaini_bin_Said
	recruit_character = OMA_Ali_bin_Said_al-Said
	recruit_character = OMA_Salim_bin_Thuwaini
	recruit_character = OMA_Turki_bin_Said

	set_cosmetic_tag=OMA_MUS

	create_equipment_variant = {
		name = "Corvette Class"
		type = ship_hull_corvette_0
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_1
			fixed_ship_armor_slot = empty
			mid_1_custom_slot = ship_cannon_battery_0
			front_1_custom_slot = empty
		}
	}
	create_equipment_variant = {
		name = "Jewel of Muscat Class"
		type = ship_hull_frigate_0
		name_group = GER_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_cannon_battery_0
			fixed_ship_fire_control_system_slot = fire_control_system_0
			fixed_ship_engine_slot = ship_engine_sail_2
			fixed_ship_armor_slot = empty
			mid_1_custom_slot = ship_cannon_battery_0
			mid_2_custom_slot = empty
			front_1_custom_slot = empty
		}
	}
	set_naval_oob = "OMA_1857_naval_mtg"
}